package com.mk.ssm.utils;

//import com.mk.ssm.entity.BleBase;

import java.util.Comparator;

/**
 * Created by everpost on 2017/6/7.
 */
//public class UserRssi implements Comparator<BleBase> {
//
//    @Override
//    public int compare(BleBase bleBase, BleBase t1) {
//        float floatValue1 = bleBase.getRssi();
//        float floatValue2 = t1.getRssi();
//        if(floatValue1<floatValue2){
//            return 1;
//        }else if(floatValue1==floatValue2){
//            return 0;
//        }else {
//            return -1;
//        }
//    }
//}
